package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OADrugPurchase</p>
 * <p>Description: 临时用药类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:09:36
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_NEWDRUGPURCHASE)
public class OANewDrugPurchase extends BaseOADomain implements BaseFlowDomainInf{

	
	
	////具体事项(父类name)
	
	//填表日期
//		@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//			private Date apply_date;
		

			
		
	//申购人员及科室（父类apply_name apply_deptname）
	/*
	 * 药品通用名
	 */
	private String drug_name;
	
	/*
	 * 药品商品名
	 */
	private String recommend;

	//药品剂型
			private String drug_kind;
		

	//规格
	private String format;

	
	//价格
	private Double price;
	
	
	/*
	 * 是否基本药物品种;
	 */
		private String base_drug;
	
		/*
		 * 是否招标品种;
		 */
		private String apply_drug;
		
		/*
		 * 是否农合目录品种;
		 */
		private String longhe_drug;
	
		/*
		 * 医保等级
		 */
	   private String medical_insurance ;
		
	  
		

		//主要药理作用
		//private String using;
		
		//主要药理作用(using 为 freemarker 保留字 )
		private String pharmacology;
		
		
		//主要适应症
		private String suit;
		
		//与同类药品比较的主要优点
		
		private String advantage;
		
		
		//现有相同或相似品种情况
		
		private String samelike;
		
		
		//科室分管领导意见（父类 dept_content）		
		
		//临床药学意见（父类 biz_content）
		
    
		//药剂科意见
		private String personnel_content;
		
		@Column(length=20)
		private String personnel_name;
		
		@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
		private Date personnel_time;
		
	
       //药事副主委(父类directLeader_content）
		
       //药事主委(父类chargeLeader_content）
		
	   //药事管理委员会意见
		private String party_content;
		
		@Column(length=20)
		private String party_name;
		
		@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
		private Date party_time;

		public String getDrug_name() {
			return drug_name;
		}

		public void setDrug_name(String drug_name) {
			this.drug_name = drug_name;
		}

		public String getRecommend() {
			return recommend;
		}

		public void setRecommend(String recommend) {
			this.recommend = recommend;
		}

		public String getDrug_kind() {
			return drug_kind;
		}

		public void setDrug_kind(String drug_kind) {
			this.drug_kind = drug_kind;
		}

		public String getFormat() {
			return format;
		}

		public void setFormat(String format) {
			this.format = format;
		}

		public Double getPrice() {
			return price;
		}

		public void setPrice(Double price) {
			this.price = price;
		}

		public String getBase_drug() {
			return base_drug;
		}

		public void setBase_drug(String base_drug) {
			this.base_drug = base_drug;
		}

		public String getApply_drug() {
			return apply_drug;
		}

		public void setApply_drug(String apply_drug) {
			this.apply_drug = apply_drug;
		}

		public String getLonghe_drug() {
			return longhe_drug;
		}

		public void setLonghe_drug(String longhe_drug) {
			this.longhe_drug = longhe_drug;
		}

		public String getMedical_insurance() {
			return medical_insurance;
		}

		public void setMedical_insurance(String medical_insurance) {
			this.medical_insurance = medical_insurance;
		}
		

		public String getSuit() {
			return suit;
		}

		public void setSuit(String suit) {
			this.suit = suit;
		}

		public String getAdvantage() {
			return advantage;
		}

		public void setAdvantage(String advantage) {
			this.advantage = advantage;
		}

		public String getSamelike() {
			return samelike;
		}

		public void setSamelike(String samelike) {
			this.samelike = samelike;
		}

		public String getPersonnel_content() {
			return personnel_content;
		}

		public void setPersonnel_content(String personnel_content) {
			this.personnel_content = personnel_content;
		}

		public String getPersonnel_name() {
			return personnel_name;
		}

		public void setPersonnel_name(String personnel_name) {
			this.personnel_name = personnel_name;
		}

		public Date getPersonnel_time() {
			return personnel_time;
		}

		public void setPersonnel_time(Date personnel_time) {
			this.personnel_time = personnel_time;
		}

		public String getParty_content() {
			return party_content;
		}

		public void setParty_content(String party_content) {
			this.party_content = party_content;
		}

		public String getParty_name() {
			return party_name;
		}

		public void setParty_name(String party_name) {
			this.party_name = party_name;
		}

		public Date getParty_time() {
			return party_time;
		}

		public void setParty_time(Date party_time) {
			this.party_time = party_time;
		}

		/**
		 * @return the pharmacology
		 */
		public String getPharmacology() {
			return pharmacology;
		}

		/**
		 * @param pharmacology the pharmacology to set
		 */
		public void setPharmacology(String pharmacology) {
			this.pharmacology = pharmacology;
		}
		
		
		
		
	
	
}
